<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//DE"> 
<html>
<head>
<meta http-equiv="Content-Language" content="de">
<title><?php echo $lang['titlesearch']; ?></title>
<meta name="Description" content="OpenCDR WEB Call Detail Records">
<meta http-equiv="imagetoolbar" content="no">
<link rel="stylesheet" href="cdr.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

<!-- calendar stylesheet -->
<!--link rel="stylesheet" type="text/css" media="all" href="calendarfiles/calendar-green.css" title="calendar-green" /-->
<link rel="stylesheet" type="text/css" media="all" href="calendarfiles/calendar-system.css" title="calendar-system" />

<!-- main calendar program -->
<script type="text/javascript" src="calendarfiles/calendar.js"></script>

<!-- language for the calendar -->
<script type="text/javascript" src="calendarfiles/lang/calendar-en.js"></script>

<!-- the following script defines the Calendar.setup helper function, which makes
     adding a calendar a matter of 1 or 2 lines of code. -->
<script type="text/javascript" src="calendarfiles/calendar-setup.js"></script>

<!-- JS for Open CDR -->
<script type="text/javascript" src="webcdr.js"></script>
<?php
if ( !$lightheader )
{
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="10">
 <td width="50" background="images/header-bg.gif"></td>
 </tr>
<tr>
<td><a href="https://www.swyx-forum.com/forum/167-open-cdr/" target="_blank"><img align="right" src="images/top.jpg" border="0"></a><h1>&nbsp;&nbsp;<?php echo $lang['title']; ?>:</h1><br></td>

</tr>


<tr height="43">
 <td background="images/tab-off-red.gif">

 
	 <table border="0" cellspacing="0" cellpadding="0">
	 	<tr height="43">
	 	 <td width="43">&nbsp;</td>
		 
		 
<?php
if ( isset($_GET['callid']) )
{
?>
	 	 <td width="2" background="images/menu-sep-red.gif"></td>
	 	 <td width="34" background="images/tab-left-on-red.gif"></td>
	 	 <td width="80" background="images/tab-on-red.gif" class="menu"><?php echo $lang['calldetails']; ?></td>
	 	 <td width="34" background="images/tab-right-on-red.gif"></td>
<?php
}
elseif ($_SERVER["REQUEST_METHOD"]=="POST" )
{
?>	 	
	 	 <td width="2" background="images/menu-sep-red.gif"></td>
	 	 <td width="34" background="images/images/tab-off-red.gif"></td>
	 	 <td width="80" background="images/images/tab-off-red.gif" class="menuidle"><a href="index.php"><?php echo $lang['newquery']; ?></a></td>
	 	 <td width="34" background="images/images/tab-off-red.gif"></td>

	 	 <td width="2" background="images/menu-sep-red.gif"></td>
	 	 <td width="34" background="images/tab-left-on-red.gif"></td>
	 	 <td width="120" background="images/tab-on-red.gif" class="menu"><font color=white><?php echo $lang['queryresult']; ?></font></td>
	 	 <td width="34" background="images/tab-right-on-red.gif"></td>
<?php
}
else
{
?>

	 	 <td width="2" background="images/menu-sep-red.gif"></td>
	 	 <td width="34" background="images/tab-left-on-red.gif"></td>
	 	 <td width="85" background="images/tab-on-red.gif" class="menu"><?php echo $lang['newquery']; ?></td>
	 	 <td width="34" background="images/tab-right-on-red.gif"></td>
<?php
}
if ( !isset($_GET['callid']) )
{
?>	 	 
	 	 <td width="2" background="images/menu-sep-red.gif"></td>
	 	 <td width="34" background="images/tab-off-red.gif"></td>
	 	 <td width="80" background="images/tab-off-red.gif" class="menuidle"><a href="topx.php"><?php echo $lang['TOPX']; ?>&nbsp;<?php echo $config['TOPX']; ?></a></td>
	 	 <td width="34" background="images/tab-off-red.gif"></td>

		 <td width="2" background="images/menu-sep-red.gif"></td>
		 <td width="34" background="images/tab-off-red.gif"></td>
	 	 <td width="80" background="images/tab-off-red.gif" class="menuidle"><a href="setup.php">Setup</a></td>
	 	 <td width="34" background="images/tab-off-red.gif"></td>
		 
<!-- 	 	 <td width="2" background="images/menu-sep-red.gif"></td>
	 	 <td width="34" background="images/tab-left-off-red.gif"></td>
	 	 <td width="140" background="images/tab-off-red.gif" class="menuidle"><a href="../index.html">Netphone WebGUI</a></td>
-->	 	 <td width="34" background="images/images/tab-off-red.gif"></td>
	 	 
	     <td width="2" background="images/menu-sep-red.gif"></td>
<!-- 	 <td width="34" background="images/tab-off-red.gif"></td>
	 	 <td width="80" background="images/tab-off-red.gif" class="menuidle"><a href="http://dev.dreier-it.de/bugs/index.php?project=6" target="_blank">Info</a></td>
	 	 <td width="34" background="images/tab-off-red.gif"></td>
	 	 <td width="2" background="images/menu-sep-red.gif"></td>
-->
<?php
}
?>

	 	</tr>
	 </table>
</td>
</tr>
</table>
<?php
}
else 
{
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="10">
 <td width="50" background="images/header-bg.gif"></td>
  
</tr>
<tr>
<td><a href="https://www.swyx-forum.com/forum/167-open-cdr/" target="_blank"><img align="right" src="images/top.jpg" border="0"></a><h1>&nbsp;&nbsp;<?php echo $lang['title']; ?></h1><br></td>
</tr>


<tr height="43">
 <td background="images/tab-off-red.gif">
	 <table border="0" cellspacing="0" cellpadding="0">
	 	<tr height="43">
	 	 <td width="43">&nbsp;</td>

		 <td width="2" background="images/menu-sep-red.gif"></td>
	 	 <td width="34" background="images/tab-off-red.gif"></td>
	 	 <td width="80" background="images/tab-off-red.gif" class="menuidle"><a href="index.php"><?php echo $lang['newquery']; ?></a></td>
	 	 <td width="34" background="images/tab-off-red.gif"></td>
	 	 
		 <td width="2" background="images/menu-sep-red.gif"></td>
	 	 <td width="34" background="images/tab-left-on-red.gif"></td>
	  	 <td width="80" background="images/tab-on-red.gif" class="menu"><a href="topx.php"><?php echo $lang['TOPX']; ?>&nbsp;<?php echo $config['TOPX']; ?></a></td>
	 	 <td width="34" background="images/tab-right-on-red.gif"></td>
		 
		 <td width="2" background="images/menu-sep-red.gif"></td>
		 <td width="34" background="images/tab-off-red.gif"></td>
	 	 <td width="80" background="images/tab-off-red.gif" class="menuidle"><a href="setup.php">Setup</a></td>
	 	 <td width="34" background="images/tab-off-red.gif"></td>
	 	 
<!--		 <td width="2" background="images/menu-sep-red.gif"></td>
		 <td width="2" background="images/menu-sep-red.gif"></td>
		 <td width="34" background="images/tab-left-off-red.gif"></td>
	 	 <td width="140" background="images/tab-off-red.gif" class="menuidle"><a href="../index.html">Netphone WebGUI</a></td>
-->	 	 <td width="34" background="images/tab-off-red.gif"></td>
	 	 <td width="2" background="images/menu-sep-red.gif"></td>

	 	</tr>
	 </table>
</td>
</tr>
</table>
<?php
}
?>